package com.atguigu.springcloud.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 赵赳
 * @CreateTime: 2021/3/7 13:16
 * @Description:
 */
@Mapper
public interface StorageMapper {
    /**
     * 减少库存
     * @param productId
     * @param count
     */
    void decrease(@Param("productId") Long productId,@Param("count") Integer count);
}
